<%@page language="java" contentType="text/html; charset=UTF-8" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="html" tagdir="/WEB-INF/tags" %>
<!DOCTYPE html>
<html>
<html:header title="新增转账">

    <link rel="stylesheet" href="${baseUrl}css/public.css" media="all">
    <style type="text/css">
        label{
            display:-moz-inline-box;
            display:inline-block;
            width:80px;
            color: #aaaaaa;
        }

        .label{
            display:-moz-inline-box;
            display:inline-block;
            width:80px;
            color: #aaaaaa;
            float: left;
        }


        .info{
            padding: 2px;
            overflow: hidden;
        }

        .bottom-info{
            color:#aaaaaa; font-size: 10px;padding-right: 10px;
        }
    </style>
    <script>
        jQuery(function () {

            $("#cancel").click(function () {
                closeSubIframe();
            });

            get("${baseUrl}funds/transfer/getVoById.action?id=${id}", function (res) {
                if (res.code==1) {
                    let data = res.data;

                    if (res.data.close) {
                        showCloseImage();
                    }


                    $("#store").html(data.store.name);
                    $("#outSettAccount").html(data.outSettAccountVo.store.name + " > " + data.outSettAccountVo.name);
                    $("#inSettAccount").html(data.inSettAccountVo.store.name + " > " + data.inSettAccountVo.name);
                    $("#inDate").html(GMTToDate(data.inDate));
                    $("#outDate").html(GMTToDate(data.outDate));
                    $("#amt").html(getPrice(data.amt));
                    $("#handleFee").html(getPrice(data.handleFee));

                    $("#remark").html(data.remark);


                    $("#user").html(data.user.name);

                }
            });
        });


    </script>

</html:header>
<body>
<div style="margin-bottom: 20px;">
    <a class="layui-btn layui-btn-primary" id="cancel">关闭</a>
</div>
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layuimini-main">
            <html:closeOrderImage/>

            <h2 class="tableBeforeTitle">账户转账</h2>
            <div style="height: 4px;background-color: #bbbbbb;width: 100%;margin: 20px 0 2px 0;"></div>
            <div style="height: 1px;width: 100%;background-color: #dddddd;margin-bottom: 10px;"></div>
            <div style="height: 10px;"></div>

            <div style="height: 20px;"></div>

            <div class="info"><label>门店:</label><span id="store"></span></div>
            <div class="info"><label>转出账户:</label><span id="outSettAccount"></span></div>
            <div class="info"><label>转出日期:</label><span id="outDate"></span></div>

            <div class="info"><label>转入账户:</label><span id="inSettAccount"></span></div>
            <div class="info"><label>到账日期:</label><span id="inDate"></span></div>

            <div class="info"><label>金额:</label><span id="amt" style="color: #FF5722; font-size: 20px;font-weight: bold;"></span></div>
            <div class="info"><label>手续费:</label><span id="handleFee"></span></div>
            <div class="info"><label>经办人:</label><span id="user"></span></div>
            <div class="info"><label>备注:</label><span id="remark"></span></div>
        </div>
    </div>
</div>

</body>
<html:loading/>

</html>